package com.webull.information.center.carwler.common.model;

import java.util.Date;

/**
 * job执行状态记录model
 *
 * @author shimingjun
 * @version 1.0
 * @since JDK 1.8
 */

public class CarwlerJobConfig {

    private Integer id;// ` int(11) NOT NULL AUTO_INCREMENT,
    private String carwler;
    private boolean base;
    private String edenNewsTable;
    private Integer pastNewsId;
    private String baseRelTable;
    private Integer pastBaRelId;
    private Date createTime;// ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    private Date updateTime;// ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
    private Boolean del;// ` tinyint(2) NOT NULL DEFAULT '0' COMMENT '1:已删，0:正常，Java:boolean',

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarwler() {
        return carwler;
    }

    public void setCarwler(String carwler) {
        this.carwler = carwler;
    }

    public boolean isBase() {
        return base;
    }

    public void setBase(boolean base) {
        this.base = base;
    }

    public String getEdenNewsTable() {
        return edenNewsTable;
    }

    public void setEdenNewsTable(String edenNewsTable) {
        this.edenNewsTable = edenNewsTable;
    }

    public Integer getPastNewsId() {
        return pastNewsId;
    }

    public void setPastNewsId(Integer pastNewsId) {
        this.pastNewsId = pastNewsId;
    }

    public String getBaseRelTable() {
        return baseRelTable;
    }

    public void setBaseRelTable(String baseRelTable) {
        this.baseRelTable = baseRelTable;
    }

    public Integer getPastBaRelId() {
        return pastBaRelId;
    }

    public void setPastBaRelId(Integer pastBaRelId) {
        this.pastBaRelId = pastBaRelId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDel() {
        return del;
    }

    public void setDel(Boolean del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "CarwlerJobConfig{" +
                "id=" + id +
                ", carwler='" + carwler + '\'' +
                ", base=" + base +
                ", edenNewsTable='" + edenNewsTable + '\'' +
                ", pastNewsId=" + pastNewsId +
                ", baseRelTable='" + baseRelTable + '\'' +
                ", pastBaRelId=" + pastBaRelId +
                '}';
    }
}
